Up-to-date Interval Arithmetic: From Closed Intervals to Connected Sets of Real Numbers
نویسنده
چکیده
This paper unifies the representations of different kinds of computer arithmetic. It is motivated by ideas developed in the book The End of Error by John Gustafson [5]. Here interval arithmetic just deals with connected sets of real numbers. These can be closed, open, half-open, bounded or unbounded. The first chapter gives a brief informal review of computer arithmetic from early floating-point arithmetic to the IEEE 754 floating-point arithmetic standard, to conventional interval arithmetic for closed and bounded real intervals, to the proposed standard IEEE P1788 for interval arithmetic, to advanced computer arithmetic, and finally to the just recently defined and published unum and ubound arithmetic [5]. Then in chapter 2 the style switches from an informal to a pure and strict mathematical one. Different kinds of computer arithmetic follow an abstract mathematical pattern and are just special realizations of it. The basic mathematical concepts are condensed into an abstract axiomatic definition. A computer operation is defined via a monotone mapping of an arithmetic operation in a complete lattice onto a complete sublattice. Essential properties of floating-point arithmetic, of interval arithmetic for closed bounded and unbounded real intervals, and for advanced computer arithmetic can directly be derived from this abstract mathematical model. Then we consider unum and ubound arithmetic. To a great deal this can be seen as an extension of arithmetic for closed real intervals to open and halfopen real intervals. Essential properties of unum and ubound arithmetic are also derived from the abstract mathematical setting given in chapter 2. Computer executable formulas for the arithmetic operations of ubound arithmetic are derived on the base of pure floating-point arithmetic. These are much simpler, easier to implement and faster to execute than alternatives that would be obtained on the base of the IEEE 754 floating-point arithmetic standard which extends pure floating-point arithmetic by a number of exceptions. The axioms of computer arithmetic given in section 2 also can be used to define ubound arithmetic in higher dimensional spaces like complex numbers, vectors and matrices with real and interval components. As an example section 4 indicates how this can be done in case of matrices with ubound components. Execution of the resulting computer executable formulas once more requires an exact dot product. In comparison with conventional interval arithmetic The End of Error may be a too big step to easily get accepted by manufacturers and computer users. So in the last section we mention a reduced but still great step that might easier find its way into computers in the near future.
منابع مشابه
Mathematics and Speed for Interval Arithmetic A Complement to IEEE P1788
The paper begins with an axiomatic definition of rounded arithmetic. The concepts of rounding and of rounded arithmetic operations are defined in an axiomatic manner fully independent of special data formats and encodings. Basic properties of floating-point and interval arithmetic can directly be derived from this abstract model. Interval operations are defined as set operations for elements of...
متن کاملInterval Arithmetic : from Principles toImplementationT
We start with a mathematical deenition of a real interval as a closed, connected set of reals. Interval arithmetic operations (addition, subtraction, multiplication and division) are likewise deened mathematically and we provide algorithms for computing these operations assuming exact real arithmetic. Next, we deene interval arithmetic operations on intervals with IEEE 754 oating point endpoint...
متن کاملA Universal Characterization of the Closed Euclidean Interval
We propose a notion of interval object in a category with finite products, providing a universal property for closed and bounded real line segments. The universal property gives rise to an analogue of primitive recursion for defining computable functions on the interval. We use this to define basic arithmetic operations and to verify equations between them. We test the notion in categories of i...
متن کاملComplete Interval Arithmetic and Its Implementation on the Computer
Let IIR be the set of closed and bounded intervals of real numbers. Arithmetic in IIR can be defined via the power set IPIR (the set of all subsets) of real numbers. If in case of division zero is not contained in the divisor arithmetic in IIR is an algebraically closed subset of the arithmetic in IPIR. Arithmetic in IPIR allows division by an interval that contains zero also. This results in c...
متن کاملInterval Arithmetic and Standardization
Interval arithmetic is arithmetic for continuous sets. Floating-point intervals are intervals of real numbers with floating-point bounds. Operations for intervals can be efficiently implemented. Hence, the time is ripe for standardization. In this paper we present an interval model that is mathematically sound and closed for the 4 basic operations. The model allows for exception free interval a...
متن کامل